﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:c="clr-namespace:HomeUX.Controls;assembly=HomeUX.ClientLibrary"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="HomeUX.MusicClientLibrary.MusicFoundTracksScreen"
    Width="800" Height="530" IsTabStop="False" mc:Ignorable="d" IsEnabled="False">
    <Grid x:Name="LayoutRoot" Background="{StaticResource DefaultBackgroundBrush}">
        <Grid.Resources>
			<Style x:Key="MusicButtonStyle" TargetType="c:TouchButton">
				<Setter Property="Width" Value="290" />
				<Setter Property="HorizontalContentAlignment" Value="Left" />
			</Style>
            <Style x:Key="MusicTextStyle" TargetType="TextBlock">
                <Setter Property="Width" Value="280" />
                <Setter Property="LineHeight" Value="16" />
                <Setter Property="LineStackingStrategy" Value="BlockLineHeight" />
                <Setter Property="TextWrapping" Value="Wrap" />
                <Setter Property="Margin" Value="8,0,8,0" />
            </Style>
        </Grid.Resources>

		<TextBlock x:Name="HeaderTextBlock" Text="{}Tracks matching &quot;{0}&quot; - {1}" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="18" Margin="10,10,0,0" />

        <c:TouchListBox x:Name="TracksListBox" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,40,0,0" Width="775" Height="482"
                  DragZoneVisibility="Visible" IsEnabled="True" SelectionMode="None"
                  ItemAction="SetStringValue" ItemClick="TracksListBox_ItemClick" ItemButtonStyle="{StaticResource MusicButtonStyle}"
                  >
				<!--
				<TextBlock Style="{StaticResource MusicTextStyle}" Text="This is quite a long track name (with stuff in parens) - This is a pretty long album name - This is an artist name" />
				<TextBlock Style="{StaticResource MusicTextStyle}" Text="This is quite a long track name (with stuff in parens) - This is a pretty long album name - This is an artist name" />
				<TextBlock Style="{StaticResource MusicTextStyle}" Text="This is quite a long track name (with stuff in parens) - This is a pretty long album name - This is an artist name" />
				<TextBlock Style="{StaticResource MusicTextStyle}" Text="This is quite a long track name (with stuff in parens) - This is a pretty long album name - This is an artist name" />
				-->
        </c:TouchListBox>
		
    </Grid>
</UserControl>
